package com.hyt.it.ogt.data.mapper.kwgov;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hyt.it.ogt.data.model.entity.kwgov.Task;
import com.hyt.it.ogt.data.model.entity.kwgov.Time;

/**
 * <p>
 * 考试任务表 Mapper 接口
 * </p>
 *
 * @author huangyh
 * @since 2021-03-08
 */
@DS("kq")
public interface KwGovTaskMapper extends BaseMapper<Task> {
    
    
    /**
     * 根据批次ID获取任务详情
     * @param taskId
     * @return
     */
    Task selectTaskInfoByExamId(String examId);
    
    /**
     * 根据批次ID获取任务详情
     * @param taskId
     * @return
     */
    Time selectTimeInfoByExamId(String examId);
    
}
